package com.example.common.constant;

/**
 * @author Think
 */

public enum AndonCode {


    //结束
    ANDON_FINISH(4,"结束"),
    //取消
    ANDON_CANCEL(3, "已取消"),
    //维修中
    ANDON_MAINTENSNCE(2, "维修中"),
    //以上报
    ANDON_NO_REPORTED(1, "未上报");


    Integer code;
    String message;

    AndonCode() {

    }

    AndonCode( Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "ShopCode{" +
                ", code=" + code +
                ", message='" + message + '\'' +
                '}';
    }
}
